<?php
    class DataBase
    {
        private static $instance;

        public static function GetInstance()
        {
            if(!$instance)
            {
                !$instance = new DataBase();
            }
            return $instance;
        }

        function __construct()
        {
            Epi::init('database');
            EpiDatabase::employ('mysql', 'database', 'host', 'username', 'password');
        }
    }

?>